﻿using System;
using System.Windows;

namespace Drawer.Controls
{
    [Serializable] // add Serializable
    public class CanvasChildrenChangeEventArgs : EventArgs
    {
        public CanvasChildrenChangeEventArgs(string visualAdded, string visualRemoved, int changedIndex)
        {
            VisualAdded = visualAdded;
            VisualRemoved = visualRemoved;
            ChangedIndex = changedIndex;
        }

        public string VisualAdded
        {
            get;
            private set;
        }

        public string VisualRemoved
        {
            get;
            private set;
        }

        public int ChangedIndex
        {
            get;
            private set;
        }
    }
}
